package ch2.ex3;

class Box{
	float f;
}

public class PassObject2 {
	static void f(Box x){
		x.f = 0.99f;
	}
	public static void main(String[] args){
		Box box = new Box();
		box.f = 0.66f;
		System.out.println("1: box.f - " + box.f);
		f(box);
		System.out.println("2: box.f - " + box.f);
	} 
}
